package com.earthchen.config.mqtt;

import com.earthchen.config.mqtt.in.MqttInboundProperties;
import com.earthchen.config.mqtt.out.MqttOutboundProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author earthchen
 * @date 2018/10/15
 **/
@ConfigurationProperties(prefix = "com.mqtt")
public class MqttProperties {

    private MqttInboundProperties inbound;

    private MqttOutboundProperties outbound;

    public MqttInboundProperties getInbound() {
        return inbound;
    }

    public void setInbound(MqttInboundProperties inbound) {
        this.inbound = inbound;
    }

    public MqttOutboundProperties getOutbound() {
        return outbound;
    }

    public void setOutbound(MqttOutboundProperties outbound) {
        this.outbound = outbound;
    }
}
